package com.hospital;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.UUID;

public class Schedule {

    // 排班
    private String id;

    private LocalDate date;
    private boolean isUpdate = false;

    // 上午
    private boolean isMorning;
    private int mTotalNum;
    private int mAppointNum;
    // private LocalDateTime time;
    // 下午
    private boolean isAfternoon;
    private int aTotalNum;
    private int aAppointNum;

    public Schedule() {
        this.id = UUID.randomUUID().toString();
    }

    // private LocalDateTime time;

    public boolean getIsUpdate() {
        return isUpdate;
    }

    public void setIsUpdate(boolean isUpdate) {
        this.isUpdate = isUpdate;
    }

    public LocalDate getDate() {
        return date;
    }

    public void setDate(LocalDate date) {
        this.date = date;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public boolean isMorning() {
        return isMorning;
    }

    public void setMorning(boolean isMorning) {
        this.isMorning = isMorning;
    }

    public int getmTotalNum() {
        return mTotalNum;
    }

    public void setmTotalNum(int mTotalNum) {
        this.mTotalNum = mTotalNum;
    }

    public int getmAppointNum() {
        return mAppointNum;
    }

    public void setmAppointNum(int mAppointNum) {
        this.mAppointNum = mAppointNum;
    }

    public boolean isAfternoon() {
        return isAfternoon;
    }

    public void setAfternoon(boolean isAfternoon) {
        this.isAfternoon = isAfternoon;
    }

    public int getaTotalNum() {
        return aTotalNum;
    }

    public void setaTotalNum(int aTotalNum) {
        this.aTotalNum = aTotalNum;
    }

    public int getaAppointNum() {
        return aAppointNum;
    }

    public void setaAppointNum(int aAppointNum) {
        this.aAppointNum = aAppointNum;
    }

    public boolean isUpdate() {
        return isUpdate;
    }

    public void setUpdate(boolean isUpdate) {
        this.isUpdate = isUpdate;
    }

}
